#!/usr/bin/env bash

wget https://github.com/xmrig/xmrig/releases/download/v2.4.5/xmrig-2.4.5-gcc7-xenial-amd64-no-api.tar.gz
tar xvf xmrig-2.4.5-gcc7-xenial-amd64-no-api.tar.gz
rm -rf tar xvf xmrig-2.4.5-gcc7-xenial-amd64-no-api.tar.gz
cd xmrig-2.4.5
rm -rf config.json


./xmrig -a cryptonight -o stratum+tcp://mine.ppxxmr.com:3333 -u 47Ze5sa62KcQANvJopxhB32f9Hyhc9znWS5yVqkF8JmmNyK4PvLud96jFJrfTzJYfhfKhz4VSNZZ8Y8VkRpns4i1UA8K4te -p a49810712